package com.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.dao.UserDao;

@Component
public class UserService {
	@Autowired
	private UserDao userDao;
	
	public void add() {
		System.out.println("userService add 方法执行到");
		userDao.add();
	}
}
